home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4825 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: RW320B48.rz.fhtw-berlin.de!n4297
  2. From: Robert Rohde <n4297@RW320B48.rz.fhtw-berlin.de>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: GCC warns about OS3.1-protos!(?)
  5. Date: Tue, 5 Mar 1996 15:40:07 +0100
  6. Message-ID: <Pine.SGI.3.91.960305151659.7781A-100000@RW320B48.rz.fhtw-berlin.de>
  7. NNTP-Posting-Host: rw320b48.rz.fhtw-berlin.de
  8. Mime-Version: 1.0
  9. Content-Type: TEXT/PLAIN; charset=US-ASCII
  10.  
  11. Hi everybody!!!
  12.  
  13. I am relatively new in C-programming, but think I'm learning. :)
  14. I'm using GCC 2.7.0 and have yet compiled some small progs.
  15.  
  16. My question concerns warnings I get when including OS3.1-prototyp-headers:
  17.  
  18. - I compile with:
  19.    gcc -o RobertsWin RobertsWin.c -Iinclude: -noixemul -s -fbaserel
  20.   using GCC 2.7.0. 
  21.  
  22. - The assign include: points to where my OS3.1-includes are. 
  23.  
  24. - While compiling I get following warnings:
  25.  
  26. In file included from robertswin.c:21: 
  27. include:clib/dos_protos.h:128: warning: `struct ExAllControl' declared inside
  28. parameter list
  29. include:clib/dos_protos.h:128: warning: its scope is only this definition 
  30. or declaration,
  31. include:clib/dos_protos.h:128: warning: which is probably not what you want.
  32.  
  33.   and the like.
  34.  
  35. Is this a warning I must care about?
  36. If not, is there a way to suppress those warnings?
  37.  
  38.  
  39. Thank you, have a good time!
  40.  
  41.     Robert, n4297@rz.fhtw-berlin.de
  42.  
  43.  
  44. PS.: I'm constantly browsing through the gcc.guide, but it's a bit complex
  45.      for a newbie like me, though it helped me much so far.
  46.